import com.vic.test.American;
import com.vic.test.Person;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.concurrent.ConcurrentHashMap;

public class TestMain {
    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext ac = new ClassPathXmlApplicationContext("classpath:application.xml","classpath:application.xml");



        //Person person= ac.getBean("american", American.class);
/*

        String str = new String();

        StringBuffer sb = new StringBuffer();
        StringBuilder sbd= new StringBuilder();

        HashMap<String,String> hm = new HashMap<String,String>();
        HashSet<String> hs = new HashSet<String>();
*/
        Hashtable<String,String> ht = new Hashtable<String,String>();



        HashMap<String,String> hm = new HashMap<String,String>();
        hm.put("1","h");
        hm.put("1","g");
        hm.put("1","c");

       // ConcurrentHashMap<String,String> chm = new ConcurrentHashMap<String, String>();
        //System.out.println(person);
    }
}
